import { DEFAULT_LAYOUT } from '../base';
import type { AppRouteRecordRaw } from '../types';

const AIBODY: AppRouteRecordRaw = {
  path: '/aibody',
  name: 'AiBody',
  component: DEFAULT_LAYOUT,
  redirect: '/aibody/index',
  meta: {
    locale: '智能体编排平台',
    requiresAuth: true,
    hideChildrenMenu: true,
    icon: 'icon-robot',
    order: 7
  },
  children: [
    {
      path: 'index',
      name: 'AiBodyIndex',
      component: () => import('@/views/aibody/index.vue'),
      meta: {
        activeMenu: 'AiBody'
      }
    }
  ]
};

export default AIBODY;
